*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
a:hover{
    color: red;
}
body{
    margin:0;
    padding: 0;
    width:100%;
    min-width:1500px;
    max-width:100%;
    height:100%;
    background-color: white;
}
#nav{
    width: 100%;
    height: 100px;
    background-color: rgba(163,15,3,0.9);
}
.nav_main{
    width:80%;
    margin: 0 auto;
    height: 100px;
}
.nav_main a{
    text-decoration: none;
    display: inline-block;
    float: left;
    font-size: 18px;
    color: white;
    height: 100px;
    line-height: 105px;
    text-align: center;
    width: 6%;
}
.nav_main span{
    display: inline-block;
    height: 30px;
    font-size: 16px;
    padding: 0 8px;
    margin-top: 37px;
    line-height: 30px;
    border-radius: 15px;
    color: #3563d5;
    cursor: pointer;
    background: #e3f3fe;
}
.nav_main input{
    margin: 0;
    padding: 0;
    display: inline-block;
    float: right;
}
.nav_main #content{
    width: 250px;
    height: 30px;
    outline: none;
    text-align: center;
    font-size: 16px;
    border-radius: 20px;
    margin-top: 35px;
}
.nav_main #search{
    width: 60px;
    height: 33px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 35px;
    margin-right: 20px;
}
.nav_main a:hover{
    color: red;
}
#main{
    width: 80%;
    margin: 0 auto;
    /*background-color: aquamarine;*/
}
#main ul{
    width: 100%;
}
#main ul:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}
#main ul li{
    display: inline-block;
    width: 49%;
    height: 200px;
    float: left;
    margin-top: 10px;
    /*margin-left: 10px;*/
    border: 1px red solid;
}
#main ul li div{
    width: 100%;
    height: 100%;
    position: relative;
    /*background-color: aquamarine;*/
}
#main ul li a img{
    width: 230px;
    height: 160px;
    margin-top: 20px;
    margin-left: 10px;
}
#main ul li a p{
    display: inline-block;
    /*float: right;*/
    position: absolute;
}
#main ul li a p:nth-child(2){
    width: 320px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
    margin-left: 10px;
    white-space: nowrap;/*强制在一行显示*/
    text-overflow:ellipsis;/*设置超出内容显示...*/
    overflow: hidden;/*一定不能少 超出的内容进行隐藏*/

    /*background-color: #3563d5;*/
}
#main_ul li{
    margin-left: 10px;
}
#main ul li a p:nth-child(3){
    width: 320px;
    height: 80px;
    font-size: 10px;
    margin-top: 60px;
    margin-left: 10px;
}
#main ul li a p:nth-child(4){
    width: 170px;
    height: 30px;
    line-height: 30px;
    font-size: 10px;
    margin-top: 150px;
    margin-left: 10px;
    /*background-color: green;*/
}
#main ul li a p:nth-child(5){
    width: 150px;
    height: 30px;
    line-height: 30px;
    font-size: 10px;
    margin-top: 150px;
    margin-left: 200px;
    /*background-color: #3563d5;*/
    white-space: nowrap;/*强制在一行显示*/
    text-overflow:ellipsis;/*设置超出内容显示...*/
    overflow: hidden;/*一定不能少 超出的内容进行隐藏*/
}
.content{
    position: relative;
}
.paging::after{
    clear: both;
}
.paging{
    width: 35%;
    margin-top: 50px;
    margin-left: 34.3%;
}
ul.pagination {
    width: 100%;
    display: inline-block;
    padding: 0;
    margin: 0 auto;
    /*background-color: gold;*/
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}
ul.pagination li a:hover:not(.active) {background-color: #ddd;}

.footer{
    width: 100%;
    height: 150px;
    text-align: center;
    position: absolute;
    background-color: #f0f0f0;
}
.footer p{
    margin-top: 10px;
}
.footer p:first-child{
    margin-top: 30px;
}
.footer p:nth-child(2){
    font-size: 15px;
}
.footer p:last-child{
    font-size: 15px;
}
.detail-title{
    margin-top: 50px;
}
.post_info{
    margin-top: 20px;
}
.post_content{
    margin-top: 20px;
    margin-bottom: 500px;
    width: 800px;
}